package com.ruoyi.book.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标签对象 blabel
 * 
 * @author ruoyi
 * @date 2023-05-07
 */
public class Label extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private long id;

    /** 标签名 */
    @Excel(name = "标签名")
    private String labname;

    public void setId(long id)
    {
        this.id = id;
    }

    public long getId()
    {
        return id;
    }
    public void setLabname(String labname) 
    {
        this.labname = labname;
    }

    public String getLabname() 
    {
        return labname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("labname", getLabname())
            .toString();
    }
}
